package com.file.manage.domain.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * 注册请求参数
 */
@Data
@Schema(title = "修改密码请求参数")
public class UpdatePasswordRequest {
    @Schema(title = "账号",nullable = true)
    @NotBlank(message = "账号不能为空")
    private String account;
    @Schema(title = "旧密码",nullable = true)
    @NotBlank(message = "旧密码不能为空")
    private String oldPassword;
    @NotBlank(message = "新密码不能为空")
    @Schema(title = "新密码",nullable = true)
   private String newPassword;
}
